package com.changpay.zywy.mvp.contract

import com.changpay.zywy.base.IModel
import com.changpay.zywy.base.IPresenter
import com.changpay.zywy.base.IView
import com.changpay.zywy.bean.EarningGroupBean
import com.changpay.zywy.bean.HttpResult
import io.reactivex.Observable
interface IncomeGroupContract {

    interface View : IView {
        fun showEarning(data: EarningGroupBean)
    }

    interface Presenter : IPresenter<View> {
        fun getEarning(map: MutableMap<String, String>)
    }

    interface Model : IModel {
        fun getEarning( map: MutableMap<String, String>): Observable<HttpResult<EarningGroupBean>>
    }
}